#pragma once
#include "Application.h"

class Module
{
protected:
	bool enabled;
	Application* owner;
public:
	Module(Application* owner);
	~Module(void);

	virtual void init() = 0;
	virtual void work() = 0;
	virtual void deinit() {};
	
	void disable();
	void enable();
};

